

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>OCC.XCAFDoc module &mdash; pythonocc API 0.18 documentation</title>
  

  
  
  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="static/css/theme.css" type="text/css" />
  

  

  
        <link rel="index" title="Index"
              href="genindex.html"/>
        <link rel="search" title="Search" href="search.html"/>
    <link rel="top" title="pythonocc API 0.18 documentation" href="index.html"/> 

  
  <script src="static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> pythonocc API
          

          
          </a>

          
            
            
              <div class="version">
                0.18
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">OCC.XCAFDoc module</a></li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">pythonocc API</a>
        
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>OCC.XCAFDoc module</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="sources/OCC.XCAFDoc.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="occ-xcafdoc-module">
<h1>OCC.XCAFDoc module<a class="headerlink" href="#occ-xcafdoc-module" title="Permalink to this headline">¶</a></h1>
<span class="target" id="module-OCC.XCAFDoc"></span><p>Definition of general structure of DECAF documentand tools to work with itThe document is composed of sections, each sectionstoring its own kind of data and managing by correspondingtoolSome properties can be attached directly to shapes. These properties are:* Name (the standard definition from OCAF) - class TDataStd_Name* Centroid (for the validation of transfer) - class XCAFDoc_Centroid* Volume (for the validation of transfer) - class XCAFDoc_Volume* Area (for the validation of transfer) - class XCafDoc_AreaManagement of these attributes is realized by OCAF. For gettingthe attributes attached to a label the method classTDF_Label::FindAttribute() should be used.</p>
<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Area</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Area.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Centroid</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Centroid.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Color</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Color.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_ColorTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_MapNode" title="OCC.TCollection.Handle_TCollection_MapNode"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.Handle_TCollection_MapNode</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Datum</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Datum.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_DimTol</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTol.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_DimTolTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_DocumentTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_GraphNode</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_LayerTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Location</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Location.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Material</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Material.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_MaterialTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_SeqNode" title="OCC.TCollection.Handle_TCollection_SeqNode"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.Handle_TCollection_SeqNode</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_SequenceNodeOfGraphNodeSequence.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_ShapeMapTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_ShapeTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume">
<em class="property">class </em><code class="descname">Handle_XCAFDoc_Volume</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.Handle_TDF_Attribute" title="OCC.TDF.Handle_TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.Handle_TDF_Attribute</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume.DownCast">
<em class="property">static </em><code class="descname">DownCast</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume.DownCast" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume.GetObject">
<code class="descname">GetObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume.GetObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume.IsNull">
<code class="descname">IsNull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume.IsNull" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume.Nullify">
<code class="descname">Nullify</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume.Nullify" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.Handle_XCAFDoc_Volume.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.SwigPyIterator">
<em class="property">class </em><code class="descname">SwigPyIterator</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.advance">
<code class="descname">advance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.advance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.copy">
<code class="descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.copy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.decr">
<code class="descname">decr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.decr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.distance">
<code class="descname">distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.distance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.equal">
<code class="descname">equal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.equal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.incr">
<code class="descname">incr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.incr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.next">
<code class="descname">next</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.next" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.previous">
<code class="descname">previous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.previous" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.SwigPyIterator.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.SwigPyIterator.value">
<code class="descname">value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.SwigPyIterator.value" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Area">
<em class="property">class </em><code class="descname">XCAFDoc_Area</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>class methods =============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.DumpToString">
<code class="descname">DumpToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.DumpToString" title="Permalink to this definition">¶</a></dt>
<dd><p>XCAFDoc_Area_DumpToString(XCAFDoc_Area self) -&gt; std::string</p>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.Get">
<em class="property">static </em><code class="descname">Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns volume of area as argument and succes status returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>area</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_Area<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a value of volume</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Find, or create, an Area attribute and set its value</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>area</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area" title="OCC.XCAFDoc.Handle_XCAFDoc_Area">Handle_XCAFDoc_Area</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Area.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Area_Get">
<code class="descname">XCAFDoc_Area_Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area_Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns volume of area as argument and succes status returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>area</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Area_GetID">
<code class="descname">XCAFDoc_Area_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Area_Set">
<code class="descname">XCAFDoc_Area_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_Area<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Area_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a value of volume</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Find, or create, an Area attribute and set its value</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>area</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Area" title="OCC.XCAFDoc.Handle_XCAFDoc_Area">Handle_XCAFDoc_Area</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid">
<em class="property">class </em><code class="descname">XCAFDoc_Centroid</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>class methods =============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.DumpToString">
<code class="descname">DumpToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.DumpToString" title="Permalink to this definition">¶</a></dt>
<dd><p>XCAFDoc_Centroid_DumpToString(XCAFDoc_Centroid self) -&gt; std::string</p>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.Get">
<em class="property">static </em><code class="descname">Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns point as argument returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>pnt</strong> (<a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Find, or create, a Location attribute and set it’s value the Location attribute is returned. Location methods ===============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>pnt</strong> (<a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) – </li>
<li><strong>pnt</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Centroid" title="OCC.XCAFDoc.Handle_XCAFDoc_Centroid">Handle_XCAFDoc_Centroid</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid_Get">
<code class="descname">XCAFDoc_Centroid_Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid_Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns point as argument returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>pnt</strong> (<a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Centroid_GetID">
<code class="descname">XCAFDoc_Centroid_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Centroid_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Color">
<em class="property">class </em><code class="descname">XCAFDoc_Color</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.GetColor">
<code class="descname">GetColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.GetColor" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Quantity.html#OCC.Quantity.Quantity_Color" title="OCC.Quantity.Quantity_Color">Quantity_Color</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.GetNOC">
<code class="descname">GetNOC</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.GetNOC" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">Quantity_NameOfColor</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.GetRGB">
<code class="descname">GetRGB</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.GetRGB" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if there is a reference on the same label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>R</strong> (<em>float &amp;</em>) – </li>
<li><strong>G</strong> (<em>float &amp;</em>) – </li>
<li><strong>B</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>C</strong> (<em>Quantity_NameOfColor</em>) – </li>
<li><strong>label</strong> – </li>
<li><strong>C</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color" title="OCC.XCAFDoc.Handle_XCAFDoc_Color">Handle_XCAFDoc_Color</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color" title="OCC.XCAFDoc.Handle_XCAFDoc_Color">Handle_XCAFDoc_Color</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Find, or create, a Color attribute and set it’s value the Color attribute is returned.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>R</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>G</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>B</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>C</strong> (<em>Quantity_NameOfColor</em>) – </li>
<li><strong>C</strong> – </li>
<li><strong>R</strong> – </li>
<li><strong>G</strong> – </li>
<li><strong>B</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Color" title="OCC.XCAFDoc.Handle_XCAFDoc_Color">Handle_XCAFDoc_Color</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Color.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool">
<em class="property">class </em><code class="descname">XCAFDoc_ColorTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.AddColor">
<code class="descname">AddColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.AddColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a color definition to a colortable and returns its label (returns existing label if the same color is already defined)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>col</strong> (<em>Quantity_Color &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.BaseLabel">
<code class="descname">BaseLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.BaseLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the label under which colors are stored</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.FindColor">
<code class="descname">FindColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.FindColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds a color definition in a colortable and returns its label if found Returns False if color is not found in colortable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>col</strong> (<em>Quantity_Color &amp;</em>) – </li>
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Finds a color definition in a colortable and returns its label if found (or Null label else)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>col</strong> (<em>Quantity_Color &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.GetColor">
<code class="descname">GetColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.GetColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns color defined by label lab Returns False if the label is not in colortable or does not define a color</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>col</strong> (<em>Quantity_Color &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns label with color assigned to &lt;L&gt; as &lt;type&gt; Returns False if no such color is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>colorL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns color assigned to &lt;L&gt; as &lt;type&gt; Returns False if no such color is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>color</strong> (<em>Quantity_Color &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns label with color assigned to &lt;L&gt; as &lt;type&gt; Returns False if no such color is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>colorL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns color assigned to &lt;L&gt; as &lt;type&gt; Returns False if no such color is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>color</strong> (<em>Quantity_Color &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.GetColors">
<code class="descname">GetColors</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.GetColors" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of colors currently stored in the colortable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.GetInstanceColor">
<code class="descname">GetInstanceColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.GetInstanceColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the color of component that styled with SHUO structure Returns False if no sush component or color type</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>color</strong> (<em>Quantity_Color &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.IsColor">
<code class="descname">IsColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.IsColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label belongs to a colortable and is a color definition</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.IsInstanceVisible">
<code class="descname">IsInstanceVisible</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.IsInstanceVisible" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the visibility status of component that styled with SHUO structure Returns False if no sush component</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theShape</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.IsSet">
<code class="descname">IsSet</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.IsSet" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label &lt;L&gt; has a color assignment of the type &lt;type&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if label &lt;L&gt; has a color assignment of the type &lt;type&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.IsVisible">
<code class="descname">IsVisible</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.IsVisible" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return True if object on this label is visible, False if invisible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.RemoveColor">
<code class="descname">RemoveColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.RemoveColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes color from the colortable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.ReverseChainsOfTreeNodes">
<code class="descname">ReverseChainsOfTreeNodes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.ReverseChainsOfTreeNodes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses order in chains of TreeNodes (from Last to First) under each Color Label since we became to use function ::Prepend() instead of ::Append() in method SetColor() for acceleration</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ColorTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) ColorTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool">Handle_XCAFDoc_ColorTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.SetColor">
<code class="descname">SetColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.SetColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color defined by &lt;colorL&gt;. Color of shape is defined following way in dependance with type of color. If type of color is XCAFDoc_ColorGen - then this color defines default color for surfaces and curves. If for shape color with types XCAFDoc_ColorSurf or XCAFDoc_ColorCurv is specified then such color overrides generic color.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>colorL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color &lt;Color&gt; in the colortable Adds a color as necessary</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Color</strong> (<em>Quantity_Color &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color defined by &lt;colorL&gt; Returns False if cannot find a label for shape S</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>colorL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color &lt;Color&gt; in the colortable Adds a color as necessary Returns False if cannot find a label for shape S</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>Color</strong> (<em>Quantity_Color &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.SetInstanceColor">
<code class="descname">SetInstanceColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.SetInstanceColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the color of component that styled with SHUO structure Returns False if no sush component found NOTE: create SHUO structeure if it is necessary and if &lt;isCreateSHUO&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
<li><strong>color</strong> (<em>Quantity_Color &amp;</em>) – </li>
<li><strong>isCreateSHUO</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.SetVisibility">
<code class="descname">SetVisibility</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.SetVisibility" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set the visibility of object on label. Do nothing if there no any object. Set UAttribute with corresponding GUID.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>shapeLabel</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>isvisible</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.ShapeTool">
<code class="descname">ShapeTool</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns internal XCAFDoc_ShapeTool tool</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.UnSetColor">
<code class="descname">UnSetColor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.UnSetColor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Removes a link with GUID defined by &lt;type&gt; (see XCAFDoc::ColorRefGUID()) from label &lt;L&gt; to color Returns True if such link existed</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool_GetID">
<code class="descname">XCAFDoc_ColorTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ColorTool_Set">
<code class="descname">XCAFDoc_ColorTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ColorTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ColorTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) ColorTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool">Handle_XCAFDoc_ColorTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Color_GetID">
<code class="descname">XCAFDoc_Color_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Color_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel">
<em class="property">class </em><code class="descname">XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.TCollection_BasicMapIterator" title="OCC.TCollection.TCollection_BasicMapIterator"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.TCollection_BasicMapIterator</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>aMap</strong> (<em>XCAFDoc_DataMapOfShapeLabel &amp;</em>) – </td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Initialize">
<code class="descname">Initialize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Initialize" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>aMap</strong> (<em>XCAFDoc_DataMapOfShapeLabel &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Key">
<code class="descname">Key</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Key" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.Value" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel">
<em class="property">class </em><code class="descname">XCAFDoc_DataMapNodeOfDataMapOfShapeLabel</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.TCollection_MapNode" title="OCC.TCollection.TCollection_MapNode"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.TCollection_MapNode</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>I</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>n</strong> (<em>TCollection_MapNodePtr &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Key">
<code class="descname">Key</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Key" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.Value" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapNodeOfDataMapOfShapeLabel.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel">
<em class="property">class </em><code class="descname">XCAFDoc_DataMapOfShapeLabel</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.TCollection_BasicMap" title="OCC.TCollection.TCollection_BasicMap"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.TCollection_BasicMap</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>NbBuckets</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – default value is 1</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Assign">
<code class="descname">Assign</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Assign" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<em>XCAFDoc_DataMapOfShapeLabel &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel" title="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel">XCAFDoc_DataMapOfShapeLabel</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Bind">
<code class="descname">Bind</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Bind" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>I</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ChangeFind">
<code class="descname">ChangeFind</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ChangeFind" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ChangeFind1">
<code class="descname">ChangeFind1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ChangeFind1" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">Standard_Address</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Clear">
<code class="descname">Clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Clear" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Find">
<code class="descname">Find</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Find" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Find1">
<code class="descname">Find1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Find1" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">Standard_Address</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.IsBound">
<code class="descname">IsBound</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.IsBound" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ReSize">
<code class="descname">ReSize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.ReSize" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>NbBuckets</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<em>XCAFDoc_DataMapOfShapeLabel &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel" title="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel">XCAFDoc_DataMapOfShapeLabel</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.UnBind">
<code class="descname">UnBind</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.UnBind" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>K</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DataMapOfShapeLabel.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum">
<em class="property">class </em><code class="descname">XCAFDoc_Datum</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.GetDescription">
<code class="descname">GetDescription</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.GetDescription" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.GetIdentification">
<code class="descname">GetIdentification</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.GetIdentification" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.GetName">
<code class="descname">GetName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.GetName" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>anIdentification</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aName</strong> – </li>
<li><strong>aDescription</strong> – </li>
<li><strong>anIdentification</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Datum" title="OCC.XCAFDoc.Handle_XCAFDoc_Datum">Handle_XCAFDoc_Datum</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Datum_GetID">
<code class="descname">XCAFDoc_Datum_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Datum_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol">
<em class="property">class </em><code class="descname">XCAFDoc_DimTol</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetDescription">
<code class="descname">GetDescription</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetDescription" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetKind">
<code class="descname">GetKind</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetKind" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetName">
<code class="descname">GetName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetName" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.GetVal">
<code class="descname">GetVal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.GetVal" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TColStd.html#OCC.TColStd.Handle_TColStd_HArray1OfReal" title="OCC.TColStd.Handle_TColStd_HArray1OfReal">Handle_TColStd_HArray1OfReal</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>kind</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>kind</strong> – </li>
<li><strong>aVal</strong> – </li>
<li><strong>aName</strong> – </li>
<li><strong>aDescription</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTol" title="OCC.XCAFDoc.Handle_XCAFDoc_DimTol">Handle_XCAFDoc_DimTol</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool">
<em class="property">class </em><code class="descname">XCAFDoc_DimTolTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.AddDatum">
<code class="descname">AddDatum</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.AddDatum" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a datum definition to a DGTtable and returns its label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>anIdentification</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.AddDimTol">
<code class="descname">AddDimTol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.AddDimTol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a dimtol definition to a DGTtable and returns its label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>kind</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.BaseLabel">
<code class="descname">BaseLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.BaseLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the label under which colors are stored</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.FindDatum">
<code class="descname">FindDatum</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.FindDatum" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds a datum and returns its label if found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>anIdentification</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.FindDimTol">
<code class="descname">FindDimTol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.FindDimTol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds a dimtol definition in a DGTtable and returns its label if found Returns False if dimtol is not found in DGTtable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>kind</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Finds a dimtol definition in a DGTtable and returns its label if found (or Null label else)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>kind</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatum">
<code class="descname">GetDatum</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatum" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns datum assigned to &lt;DatumL&gt; Returns False if no such datum is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>DatumL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>anIdentification</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatumLabels">
<code class="descname">GetDatumLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatumLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of Datumss currently stored in the DGTtable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatumTolerLabels">
<code class="descname">GetDatumTolerLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDatumTolerLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns all Datum labels defined for label DimTolL</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>DimTolL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Datums</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDimTol">
<code class="descname">GetDimTol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDimTol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns dimtol assigned to &lt;DimTolL&gt; Returns False if no such dimtol is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>DimTolL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>kind</strong> (<em>int &amp;</em>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDimTolLabels">
<code class="descname">GetDimTolLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetDimTolLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of D&amp;GTs currently stored in the DGTtable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetRefDGTLabels">
<code class="descname">GetRefDGTLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetRefDGTLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns all DimTol labels defined for label ShapeL</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>ShapeL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>DimTols</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.GetRefShapeLabel">
<code class="descname">GetRefShapeLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.GetRefShapeLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns ShapeL defined for label DimTolL Returns False if the DimTolL is not in DGTtable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>DimTolL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>ShapeL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.IsDatum">
<code class="descname">IsDatum</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.IsDatum" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label belongs to a dimtoltable and is a Datum definition</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.IsDimTol">
<code class="descname">IsDimTol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.IsDimTol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label belongs to a dimtoltable and is a DimTol definition</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) DimTolTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool">Handle_XCAFDoc_DimTolTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.SetDatum">
<code class="descname">SetDatum</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.SetDatum" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a link with GUID</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>DatumL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID for Datum Adds a Datum as necessary Sets connection between Datum and Tolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>TolerL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>anIdentification</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.SetDimTol">
<code class="descname">SetDimTol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.SetDimTol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a link with GUID</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>DimTolL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID Adds a DimTol as necessary</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>kind</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>aVal</strong> (<em>Handle_TColStd_HArray1OfReal &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.ShapeTool">
<code class="descname">ShapeTool</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns internal XCAFDoc_ShapeTool tool</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool_GetID">
<code class="descname">XCAFDoc_DimTolTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTolTool_Set">
<code class="descname">XCAFDoc_DimTolTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTolTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) DimTolTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool">Handle_XCAFDoc_DimTolTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DimTol_GetID">
<code class="descname">XCAFDoc_DimTol_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DimTol_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool">
<em class="property">class </em><code class="descname">XCAFDoc_DocumentTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.ColorTool">
<em class="property">static </em><code class="descname">ColorTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ColorTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.ColorTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) ColorTool attribute on ColorsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool">Handle_XCAFDoc_ColorTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.ColorsLabel">
<em class="property">static </em><code class="descname">ColorsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.ColorsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.DGTsLabel">
<em class="property">static </em><code class="descname">DGTsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.DGTsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 4.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.Destroy">
<code class="descname">Destroy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.Destroy" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Unregisters the document holding this attribute from an internal global map of XDE documents.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">void</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.DimTolTool">
<em class="property">static </em><code class="descname">DimTolTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.DimTolTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) DimTolTool attribute on DGTsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool">Handle_XCAFDoc_DimTolTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.DocLabel">
<em class="property">static </em><code class="descname">DocLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.DocLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns label where the DocumentTool attribute is or 0.1 if DocumentTool is not yet set.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.Init" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>to be called when reading this attribute from file</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.IsXCAFDocument">
<em class="property">static </em><code class="descname">IsXCAFDocument</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.IsXCAFDocument" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Doc</strong> (<em>Handle_TDocStd_Document &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.LayerTool">
<em class="property">static </em><code class="descname">LayerTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_LayerTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.LayerTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) LayerTool attribute on LayersLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool" title="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool">Handle_XCAFDoc_LayerTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.LayersLabel">
<em class="property">static </em><code class="descname">LayersLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.LayersLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 3.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.MaterialTool">
<em class="property">static </em><code class="descname">MaterialTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.MaterialTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) DimTolTool attribute on DGTsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool" title="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool">Handle_XCAFDoc_MaterialTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.MaterialsLabel">
<em class="property">static </em><code class="descname">MaterialsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.MaterialsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 5.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) DocumentTool attribute on 0.1 label if &lt;IsAcces&gt; is true, else on &lt;L&gt; label. This label will be returned by DocLabel(); If the attribute is already set it won’t be reset on &lt;L&gt; even if &lt;IsAcces&gt; is false. ColorTool and ShapeTool attributes are also set by this method.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>IsAcces</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool">Handle_XCAFDoc_DocumentTool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.ShapeTool">
<em class="property">static </em><code class="descname">ShapeTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) ShapeTool attribute on ShapesLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.ShapesLabel">
<em class="property">static </em><code class="descname">ShapesLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.ShapesLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 1.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_ColorTool">
<code class="descname">XCAFDoc_DocumentTool_ColorTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ColorTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_ColorTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) ColorTool attribute on ColorsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ColorTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ColorTool">Handle_XCAFDoc_ColorTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_ColorsLabel">
<code class="descname">XCAFDoc_DocumentTool_ColorsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_ColorsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_DGTsLabel">
<code class="descname">XCAFDoc_DocumentTool_DGTsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_DGTsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 4.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_DimTolTool">
<code class="descname">XCAFDoc_DocumentTool_DimTolTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_DimTolTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) DimTolTool attribute on DGTsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DimTolTool">Handle_XCAFDoc_DimTolTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_DocLabel">
<code class="descname">XCAFDoc_DocumentTool_DocLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_DocLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns label where the DocumentTool attribute is or 0.1 if DocumentTool is not yet set.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_GetID">
<code class="descname">XCAFDoc_DocumentTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_IsXCAFDocument">
<code class="descname">XCAFDoc_DocumentTool_IsXCAFDocument</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_IsXCAFDocument" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Doc</strong> (<em>Handle_TDocStd_Document &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_LayerTool">
<code class="descname">XCAFDoc_DocumentTool_LayerTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_LayerTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_LayerTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) LayerTool attribute on LayersLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool" title="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool">Handle_XCAFDoc_LayerTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_LayersLabel">
<code class="descname">XCAFDoc_DocumentTool_LayersLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_LayersLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 3.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_MaterialTool">
<code class="descname">XCAFDoc_DocumentTool_MaterialTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_MaterialTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) DimTolTool attribute on DGTsLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool" title="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool">Handle_XCAFDoc_MaterialTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_MaterialsLabel">
<code class="descname">XCAFDoc_DocumentTool_MaterialsLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_MaterialsLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 5.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_Set">
<code class="descname">XCAFDoc_DocumentTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) DocumentTool attribute on 0.1 label if &lt;IsAcces&gt; is true, else on &lt;L&gt; label. This label will be returned by DocLabel(); If the attribute is already set it won’t be reset on &lt;L&gt; even if &lt;IsAcces&gt; is false. ColorTool and ShapeTool attributes are also set by this method.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>IsAcces</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool" title="OCC.XCAFDoc.Handle_XCAFDoc_DocumentTool">Handle_XCAFDoc_DocumentTool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_ShapeTool">
<code class="descname">XCAFDoc_DocumentTool_ShapeTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if it does not exist) ShapeTool attribute on ShapesLabel().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_DocumentTool_ShapesLabel">
<code class="descname">XCAFDoc_DocumentTool_ShapesLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_DocumentTool_ShapesLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns sub-label of DocLabel() with tag 1.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>acces</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode">
<em class="property">class </em><code class="descname">XCAFDoc_GraphNode</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.ChildIndex">
<code class="descname">ChildIndex</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.ChildIndex" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return index of &lt;Ch&gt;, or zero if there is no such Graphnode.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ch</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.DumpToString">
<code class="descname">DumpToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.DumpToString" title="Permalink to this definition">¶</a></dt>
<dd><p>XCAFDoc_GraphNode_DumpToString(XCAFDoc_GraphNode self) -&gt; std::string</p>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.FatherIndex">
<code class="descname">FatherIndex</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.FatherIndex" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return index of &lt;F&gt;, or zero if there is no such Graphnode.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>F</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.Find">
<em class="property">static </em><code class="descname">Find</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.Find" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>class methods working on the node =================================== Shortcut to search a Graph node attribute with default GraphID. Returns true if found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>G</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.GetChild">
<code class="descname">GetChild</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.GetChild" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GraphNode by index from GraphNodeSequence.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Chindex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.GetDefaultGraphID">
<em class="property">static </em><code class="descname">GetDefaultGraphID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.GetDefaultGraphID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns a default Graph ID. this ID is used by the &lt;Set&gt; method without explicit tree ID. Instance methods: ================</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.GetFather">
<code class="descname">GetFather</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.GetFather" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GraphNode by index from GraphNodeSequence.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Findex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.IsChild">
<code class="descname">IsChild</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.IsChild" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns True if &lt;self&gt; is child of &lt;F&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>F</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.IsFather">
<code class="descname">IsFather</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.IsFather" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns True if &lt;self&gt; is father of &lt;Ch&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ch</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.NbChildren">
<code class="descname">NbChildren</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.NbChildren" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>return Number of Childrens GraphNodes. Implementation of Attribute methods: ===================================</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.NbFathers">
<code class="descname">NbFathers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.NbFathers" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>return Number of Fathers GraphNodes.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_GraphNode<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds or Creates a GraphNode attribute on the label &lt;L&gt; with the default Graph ID, returned by the method &lt;GetDefaultGraphID&gt;. Returns the created/found GraphNode attribute.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Finds or Creates a GraphNode attribute on the label &lt;L&gt;, with an explicit tree ID. &lt;ExplicitGraphID&gt; is the ID returned by &lt;TDF_Attribute::ID&gt; method. Returns the found/created GraphNode attribute.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>ExplicitGraphID</strong> (<em>Standard_GUID &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.SetChild">
<code class="descname">SetChild</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.SetChild" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set GraphNode &lt;Ch&gt; as child of me and returns index of &lt;Ch&gt; in Sequence that containing Children GraphNodes. return index of &lt;Ch&gt; from GraphNodeSequnece</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ch</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.SetFather">
<code class="descname">SetFather</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.SetFather" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set GraphNode &lt;F&gt; as father of me and returns index of &lt;F&gt; in Sequence that containing Fathers GraphNodes. return index of &lt;F&gt; from GraphNodeSequnece</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>F</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.SetGraphID">
<code class="descname">SetGraphID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.SetGraphID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>explicitID</strong> (<em>Standard_GUID &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.UnSetChild">
<code class="descname">UnSetChild</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.UnSetChild" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Remove &lt;Ch&gt; from GraphNodeSequence. and remove link between father and child.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ch</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove Child GraphNode by index from Children GraphNodeSequence. and remove link between father and child.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Chindex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.UnSetFather">
<code class="descname">UnSetFather</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.UnSetFather" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Remove &lt;F&gt; from Fathers GraphNodeSequence. and remove link between father and child.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>F</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove Father GraphNode by index from Fathers GraphNodeSequence. and remove link between father and child.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Findex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence">
<em class="property">class </em><code class="descname">XCAFDoc_GraphNodeSequence</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.TCollection_BaseSequence" title="OCC.TCollection.TCollection_BaseSequence"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.TCollection_BaseSequence</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Append">
<code class="descname">Append</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Append" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>T</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>S</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Assign">
<code class="descname">Assign</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Assign" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence" title="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence">XCAFDoc_GraphNodeSequence</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.ChangeValue">
<code class="descname">ChangeValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.ChangeValue" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Clear">
<code class="descname">Clear</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Clear" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.First">
<code class="descname">First</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.First" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.InsertAfter">
<code class="descname">InsertAfter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.InsertAfter" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>T</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>Index</strong> – </li>
<li><strong>S</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.InsertBefore">
<code class="descname">InsertBefore</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.InsertBefore" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>T</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>Index</strong> – </li>
<li><strong>S</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Last">
<code class="descname">Last</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Last" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Prepend">
<code class="descname">Prepend</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Prepend" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>T</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>S</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Remove">
<code class="descname">Remove</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Remove" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>FromIndex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>ToIndex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence" title="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence">XCAFDoc_GraphNodeSequence</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.SetValue">
<code class="descname">SetValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.SetValue" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>I</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Split">
<code class="descname">Split</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Split" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </li>
<li><strong>Sub</strong> (<em>XCAFDoc_GraphNodeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.Value" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNodeSequence.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode_Find">
<code class="descname">XCAFDoc_GraphNode_Find</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode_Find" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>class methods working on the node =================================== Shortcut to search a Graph node attribute with default GraphID. Returns true if found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>G</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode_GetDefaultGraphID">
<code class="descname">XCAFDoc_GraphNode_GetDefaultGraphID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode_GetDefaultGraphID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns a default Graph ID. this ID is used by the &lt;Set&gt; method without explicit tree ID. Instance methods: ================</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_GraphNode_Set">
<code class="descname">XCAFDoc_GraphNode_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_GraphNode<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_GraphNode_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds or Creates a GraphNode attribute on the label &lt;L&gt; with the default Graph ID, returned by the method &lt;GetDefaultGraphID&gt;. Returns the created/found GraphNode attribute.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Finds or Creates a GraphNode attribute on the label &lt;L&gt;, with an explicit tree ID. &lt;ExplicitGraphID&gt; is the ID returned by &lt;TDF_Attribute::ID&gt; method. Returns the found/created GraphNode attribute.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>ExplicitGraphID</strong> (<em>Standard_GUID &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool">
<em class="property">class </em><code class="descname">XCAFDoc_LayerTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.AddLayer">
<code class="descname">AddLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.AddLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a Layer definition to a Layertable and returns its label (returns existing label if the same Layer is already defined)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.BaseLabel">
<code class="descname">BaseLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.BaseLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the label under which Layers are stored</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.FindLayer">
<code class="descname">FindLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.FindLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds a Layer definition in a Layertable and returns its label if found Returns False if Layer is not found in Layertable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Finds a Layer definition in a Layertable and returns its label if found (or Null label else)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayer">
<code class="descname">GetLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns Layer defined by label lab Returns False if the label is not in Layertable or does not define a Layer</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayerLabels">
<code class="descname">GetLayerLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayerLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of Layers currently stored in the Layertable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayers">
<code class="descname">GetLayers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetLayers" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return sequence of strings &lt;aLayerS&gt; that assosiated with label &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayerS</strong> (<em>Handle_TColStd_HSequenceOfExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Return sequence of labels &lt;aLayerSL&gt; that assosiated with label &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayerLS</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Return sequence of strings that assosiated with label &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TColStd.html#OCC.TColStd.Handle_TColStd_HSequenceOfExtendedString" title="OCC.TColStd.Handle_TColStd_HSequenceOfExtendedString">Handle_TColStd_HSequenceOfExtendedString</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Return sequence of strings &lt;aLayerS&gt; that assosiated with shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayerS</strong> (<em>Handle_TColStd_HSequenceOfExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Return sequence of labels &lt;aLayerLS&gt; that assosiated with shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayerLS</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Return sequence of strings that assosiated with shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TColStd.html#OCC.TColStd.Handle_TColStd_HSequenceOfExtendedString" title="OCC.TColStd.Handle_TColStd_HSequenceOfExtendedString">Handle_TColStd_HSequenceOfExtendedString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.GetShapesOfLayer">
<code class="descname">GetShapesOfLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.GetShapesOfLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return sequanese of shape labels that assigned with layers to &lt;ShLabels&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>layerL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>ShLabels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.IsLayer">
<code class="descname">IsLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.IsLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label belongs to a Layertable and is a Layer definition</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.IsSet">
<code class="descname">IsSet</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.IsSet" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label &lt;L&gt; has a Layer assosiated with the &lt;aLayer&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if label &lt;L&gt; has a Layer assosiated with the &lt;aLayerL&gt; label.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if shape &lt;Sh&gt; has a Layer assosiated with the &lt;aLayer&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if shape &lt;Sh&gt; has a Layer assosiated with the &lt;aLayerL&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.IsVisible">
<code class="descname">IsVisible</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.IsVisible" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return True if layer is visible, False if invisible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>layerL</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.RemoveLayer">
<code class="descname">RemoveLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.RemoveLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes Layer from the Layertable</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_LayerTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) LayerTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool" title="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool">Handle_XCAFDoc_LayerTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.SetLayer">
<code class="descname">SetLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.SetLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a link from label &lt;L&gt; to Layer defined by &lt;LayerL&gt; optional parametr &lt;shapeInOneLayer&gt; show could shape be in number of layers or only in one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>LayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>shapeInOneLayer</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link from label &lt;L&gt; to Layer &lt;aLayer&gt; in the Layertable Adds a Layer as necessary optional parametr &lt;shapeInOneLayer&gt; show could shape be in number of layers or only in one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
<li><strong>shapeInOneLayer</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link from label that containig shape &lt;Sh&gt; with layer that situated at label &lt;LayerL&gt;. optional parametr &lt;shapeInOneLayer&gt; show could shape be in number of layers or only in one. return False if no such shape &lt;Sh&gt; or label &lt;LayerL&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>LayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>shapeInOneLayer</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link from label that containig shape &lt;Sh&gt; with layer &lt;aLayer&gt;. Add &lt;aLayer&gt; to LayerTable if nessesery. optional parametr &lt;shapeInOneLayer&gt; show could shape be in number of layers or only in one. return False if no such shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
<li><strong>shapeInOneLayer</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.SetVisibility">
<code class="descname">SetVisibility</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.SetVisibility" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set the visibility of layer. If layer is invisible when on it’s layer will set UAttribute with corresponding GUID.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>layerL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>isvisible</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.ShapeTool">
<code class="descname">ShapeTool</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns internal XCAFDoc_ShapeTool tool</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.UnSetLayers">
<code class="descname">UnSetLayers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.UnSetLayers" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes a link from label &lt;L&gt; to all layers</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove link between shape &lt;Sh&gt; and all Layers at LayerTable. return False if no such shape &lt;Sh&gt; in XCAF Document.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.UnSetOneLayer">
<code class="descname">UnSetOneLayer</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.UnSetOneLayer" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Remove link from label &lt;L&gt; and Layer &lt;aLayer&gt;. returns False if no such layer.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove link from label &lt;L&gt; and Layer &lt;aLayerL&gt;. returns False if &lt;aLayerL&gt; is not a layer label.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aLayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove link between shape &lt;Sh&gt; and layer &lt;aLayer&gt;. returns False if no such layer &lt;aLayer&gt; or shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayer</strong> (<em>TCollection_ExtendedString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Remove link between shape &lt;Sh&gt; and layer &lt;aLayerL&gt;. returns False if no such layer &lt;aLayerL&gt; or shape &lt;Sh&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Sh</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>aLayerL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool_GetID">
<code class="descname">XCAFDoc_LayerTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_LayerTool_Set">
<code class="descname">XCAFDoc_LayerTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_LayerTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_LayerTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) LayerTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_LayerTool" title="OCC.XCAFDoc.Handle_XCAFDoc_LayerTool">Handle_XCAFDoc_LayerTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Location">
<em class="property">class </em><code class="descname">XCAFDoc_Location</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>class methods =============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Location.Get">
<code class="descname">Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location.Get" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if there is a reference on the same label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopLoc.html#OCC.TopLoc.TopLoc_Location" title="OCC.TopLoc.TopLoc_Location">TopLoc_Location</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Location.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Location.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Location.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Find, or create, a Location attribute and set it’s value the Location attribute is returned. Location methods ===============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Loc</strong> (<em>TopLoc_Location &amp;</em>) – </li>
<li><strong>Loc</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Location" title="OCC.XCAFDoc.Handle_XCAFDoc_Location">Handle_XCAFDoc_Location</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Location.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Location_GetID">
<code class="descname">XCAFDoc_Location_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Location_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Material">
<em class="property">class </em><code class="descname">XCAFDoc_Material</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetDensName">
<code class="descname">GetDensName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetDensName" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetDensValType">
<code class="descname">GetDensValType</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetDensValType" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetDensity">
<code class="descname">GetDensity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetDensity" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetDescription">
<code class="descname">GetDescription</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetDescription" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.GetName">
<code class="descname">GetName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.GetName" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.Handle_TCollection_HAsciiString" title="OCC.TCollection.Handle_TCollection_HAsciiString">Handle_TCollection_HAsciiString</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensity</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>aDensName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensValType</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aName</strong> – </li>
<li><strong>aDescription</strong> – </li>
<li><strong>aDensity</strong> – </li>
<li><strong>aDensName</strong> – </li>
<li><strong>aDensValType</strong> – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Material" title="OCC.XCAFDoc.Handle_XCAFDoc_Material">Handle_XCAFDoc_Material</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Material.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool">
<em class="property">class </em><code class="descname">XCAFDoc_MaterialTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.AddMaterial">
<code class="descname">AddMaterial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.AddMaterial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a Material definition to a table and returns its label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensity</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>aDensName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensValType</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.BaseLabel">
<code class="descname">BaseLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.BaseLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the label under which colors are stored</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.GetDensityForShape">
<em class="property">static </em><code class="descname">GetDensityForShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.GetDensityForShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Find referred material and return density from it if no material –&gt; return 0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ShapeL</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.GetMaterial">
<code class="descname">GetMaterial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.GetMaterial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns Material assigned to &lt;MatL&gt; Returns False if no such Material is assigned</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>MatL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensity</strong> (<em>float &amp;</em>) – </li>
<li><strong>aDensName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensValType</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.GetMaterialLabels">
<code class="descname">GetMaterialLabels</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.GetMaterialLabels" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of materials currently stored in the material table</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.IsMaterial">
<code class="descname">IsMaterial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.IsMaterial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if label belongs to a material table and is a Material definition</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>lab</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) MaterialTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool" title="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool">Handle_XCAFDoc_MaterialTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.SetMaterial">
<code class="descname">SetMaterial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.SetMaterial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a link with GUID</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>MatL</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets a link with GUID Adds a Material as necessary</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDescription</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensity</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
<li><strong>aDensName</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
<li><strong>aDensValType</strong> (<em>Handle_TCollection_HAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.ShapeTool">
<code class="descname">ShapeTool</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns internal XCAFDoc_ShapeTool tool</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool_GetDensityForShape">
<code class="descname">XCAFDoc_MaterialTool_GetDensityForShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool_GetDensityForShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Find referred material and return density from it if no material –&gt; return 0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ShapeL</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool_GetID">
<code class="descname">XCAFDoc_MaterialTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_MaterialTool_Set">
<code class="descname">XCAFDoc_MaterialTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_MaterialTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates (if not exist) MaterialTool.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool" title="OCC.XCAFDoc.Handle_XCAFDoc_MaterialTool">Handle_XCAFDoc_MaterialTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Material_GetID">
<code class="descname">XCAFDoc_Material_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Material_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence">
<em class="property">class </em><code class="descname">XCAFDoc_SequenceNodeOfGraphNodeSequence</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TCollection.html#OCC.TCollection.TCollection_SeqNode" title="OCC.TCollection.TCollection_SeqNode"><code class="xref py py-class docutils literal"><span class="pre">OCC.TCollection.TCollection_SeqNode</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>I</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>n</strong> (<em>TCollection_SeqNodePtr &amp;</em>) – </li>
<li><strong>p</strong> (<em>TCollection_SeqNodePtr &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.Value" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_SequenceNodeOfGraphNodeSequence.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool">
<em class="property">class </em><code class="descname">XCAFDoc_ShapeMapTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>Creates an empty tool</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetMap">
<code class="descname">GetMap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.GetMap" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopTools.html#OCC.TopTools.TopTools_IndexedMapOfShape" title="OCC.TopTools.TopTools_IndexedMapOfShape">TopTools_IndexedMapOfShape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.IsSubShape">
<code class="descname">IsSubShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.IsSubShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Checks whether shape &lt;sub&gt; is subshape of shape stored on label shapeL</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) ShapeTool from XCAFDoc on &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool">Handle_XCAFDoc_ShapeMapTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.SetShape">
<code class="descname">SetShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.SetShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets representation (TopoDS_Shape) for top-level shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool_GetID">
<code class="descname">XCAFDoc_ShapeMapTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeMapTool_Set">
<code class="descname">XCAFDoc_ShapeMapTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeMapTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) ShapeTool from XCAFDoc on &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeMapTool">Handle_XCAFDoc_ShapeMapTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool">
<em class="property">class </em><code class="descname">XCAFDoc_ShapeTool</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>Creates an empty tool Creates a tool to work with a document &lt;Doc&gt; Attaches to label XCAFDoc::LabelShapes()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.AddComponent">
<code class="descname">AddComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.AddComponent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a component given by its label and location to the assembly Note: assembly must be IsAssembly() or IsSimpleShape()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>assembly</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>comp</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Loc</strong> (<em>TopLoc_Location &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Adds a shape (located) as a component to the assembly If necessary, creates an additional top-level shape for component and return the Label of component. If expand is True and component is Compound, it will be created as assembly also Note: assembly must be IsAssembly() or IsSimpleShape()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>assembly</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>comp</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>expand</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.AddShape">
<code class="descname">AddShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.AddShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a new top-level (creates and returns a new label) If makeAssembly is True, treats TopAbs_COMPOUND shapes as assemblies (creates assembly structure). NOTE: &lt;makePrepare&gt; replace components without location in assmebly by located components to avoid some problems. If AutoNaming() is True then automatically attaches names.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>makeAssembly</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>makePrepare</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.AddSubShape">
<code class="descname">AddSubShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.AddSubShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds a label for subshape &lt;sub&gt; of shape stored on label shapeL Returns Null label if it is not subshape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>shapeL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.AutoNaming">
<em class="property">static </em><code class="descname">AutoNaming</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.AutoNaming" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns current auto-naming mode. See SetAutoNaming() for description.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.BaseLabel">
<code class="descname">BaseLabel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.BaseLabel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the label under which shapes are stored</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.ComputeShapes">
<code class="descname">ComputeShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.ComputeShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>recursive</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.ComputeSimpleShapes">
<code class="descname">ComputeSimpleShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.ComputeSimpleShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Compute a sequence of simple shapes</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.Dump">
<code class="descname">Dump</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.Dump" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theDumpLog</strong> (<em>Standard_OStream &amp;</em>) – </li>
<li><strong>deep</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.DumpShape">
<em class="property">static </em><code class="descname">DumpShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.DumpShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Print to ostream &lt;theDumpLog&gt; type of shape found on &lt;L&gt; label and the entry of &lt;L&gt;, with &lt;level&gt; tabs before. If &lt;deep&gt;, print also TShape and Location addresses</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theDumpLog</strong> (<em>Standard_OStream &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>level</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – default value is 0</li>
<li><strong>deep</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">void</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindComponent">
<code class="descname">FindComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindComponent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Serach the path of labels in the document, that corresponds the component from any assembly Try to search the sequence of labels with location that produce this shape as component of any assembly NOTE: Clear sequence of labels before filling</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindMainShape">
<code class="descname">FindMainShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindMainShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs a search among top-level shapes to find the shape containing &lt;sub&gt; as subshape Checks only simple shapes, and returns the first found label (which should be the only one for valid model)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindMainShapeUsingMap">
<code class="descname">FindMainShapeUsingMap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindMainShapeUsingMap" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindSHUO">
<em class="property">static </em><code class="descname">FindSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Searchs the SHUO by labels of components from upper_usage componet to next_usage Returns null attribute if no SHUO found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>theSHUOAttr</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindShape">
<code class="descname">FindShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the label corresponding to shape S (searches among top-level shapes, not including subcomponents of assemblies) If findInstance is False (default), searches for the non-located shape (i.e. among original shapes) If findInstance is True, searches for the shape with the same location, including shape instances Return True if &lt;S&gt; is found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>findInstance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Does the same as previous method Returns Null label if not found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>findInstance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.FindSubShape">
<code class="descname">FindSubShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.FindSubShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Finds a label for subshape &lt;sub&gt; of shape stored on label shapeL Returns Null label if it is not found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>shapeL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetAllComponentSHUO">
<em class="property">static </em><code class="descname">GetAllComponentSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetAllComponentSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns founded SHUO GraphNodes of indicated component Returns false in other case</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>CompLabel</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>SHUOAttrs</strong> (<em>TDF_AttributeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetAllSHUOInstances">
<code class="descname">GetAllSHUOInstances</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetAllSHUOInstances" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Seaching for component shapes that styled by shuo Returns empty sequence of shape if no any shape is found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theSHUO</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
<li><strong>theSHUOShapeSeq</strong> (<em>TopTools_SequenceOfShape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetComponents">
<em class="property">static </em><code class="descname">GetComponents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetComponents" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of components of assembly Returns False if label is not assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetExternRefs">
<em class="property">static </em><code class="descname">GetExternRefs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetExternRefs" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the names of references on the no-step files</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>SHAS</strong> (<em>TColStd_SequenceOfHAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">void</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetFreeShapes">
<code class="descname">GetFreeShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetFreeShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of all top-level shapes which are free (i.e. not referred by any other)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>FreeLabels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetLocation">
<em class="property">static </em><code class="descname">GetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns location of instance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopLoc.html#OCC.TopLoc.TopLoc_Location" title="OCC.TopLoc.TopLoc_Location">TopLoc_Location</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetReferredShape">
<em class="property">static </em><code class="descname">GetReferredShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetReferredShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns label which corresponds to a shape referred by L Returns False if label is not reference</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Label</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUO">
<em class="property">static </em><code class="descname">GetSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns founded SHUO GraphNode attribute &lt;aSHUOAttr&gt; Returns false in other case</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>SHUOLabel</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aSHUOAttr</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUOInstance">
<code class="descname">GetSHUOInstance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUOInstance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Search for the component shape that styled by shuo Returns null shape if no any shape is found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theSHUO</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUONextUsage">
<em class="property">static </em><code class="descname">GetSHUONextUsage</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUONextUsage" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the sequence of labels of SHUO attributes, which is next_usage for this upper_usage SHUO attribute (that indicated by label) NOTE: returns next_usages only on one level (not recurse) NOTE: do not clear the sequence before filling</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>UpperUsageL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUOUpperUsage">
<em class="property">static </em><code class="descname">GetSHUOUpperUsage</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSHUOUpperUsage" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the sequence of labels of SHUO attributes, which is upper_usage for this next_usage SHUO attribute (that indicated by label) NOTE: returns upper_usages only on one level (not recurse) NOTE: do not clear the sequence before filling</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>NextUsageL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetShape">
<em class="property">static </em><code class="descname">GetShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>To get TopoDS_Shape from shape’s label For component, returns new shape with correct location Returns False if label does not contain shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>To get TopoDS_Shape from shape’s label For component, returns new shape with correct location Returns Null shape if label does not contain shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetShapes">
<code class="descname">GetShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a sequence of all top-level shapes</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSubShapes">
<em class="property">static </em><code class="descname">GetSubShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetSubShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of labels identifying subshapes of the given shape Returns False if no subshapes are placed on that label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.GetUsers">
<em class="property">static </em><code class="descname">GetUsers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.GetUsers" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of labels which refer shape L as component Returns number of users (0 if shape is free)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.Init" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>set hasComponents into false</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsAssembly">
<em class="property">static </em><code class="descname">IsAssembly</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsAssembly" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of assembly, i.e. contains sublabels which are assembly components This is relevant only if IsShape() is True</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsComponent">
<em class="property">static </em><code class="descname">IsComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsComponent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return true if &lt;L&gt; is reference serving as component of assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsCompound">
<em class="property">static </em><code class="descname">IsCompound</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsCompound" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of compound, i.e. contains some sublabels This is relevant only if IsShape() is True</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsExternRef">
<em class="property">static </em><code class="descname">IsExternRef</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsExternRef" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of external references, i.e. there are some reference on the no-step files, which are described in document only their names</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsFree">
<em class="property">static </em><code class="descname">IsFree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsFree" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is not used by any assembly, i.e. contains sublabels which are assembly components This is relevant only if IsShape() is True (There is no Father TreeNode on this &lt;L&gt;)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsReference">
<em class="property">static </em><code class="descname">IsReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsReference" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return true if &lt;L&gt; is a located instance of other shape i.e. reference</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsShape">
<em class="property">static </em><code class="descname">IsShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label represents a shape (simple shape, assembly or reference)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsSimpleShape">
<em class="property">static </em><code class="descname">IsSimpleShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsSimpleShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of simple shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsSubShape">
<code class="descname">IsSubShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsSubShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return true if &lt;L&gt; is subshape of the top-level shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Checks whether shape &lt;sub&gt; is subshape of shape stored on label shapeL</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>shapeL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>sub</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.IsTopLevel">
<code class="descname">IsTopLevel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.IsTopLevel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of top-level shape, as opposed to component of assembly or subshape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.NbComponents">
<em class="property">static </em><code class="descname">NbComponents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.NbComponents" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns number of Assembles components</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.NewShape">
<code class="descname">NewShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.NewShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Creates new (empty) top-level shape. Initially it holds empty TopoDS_Compound</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveComponent">
<code class="descname">RemoveComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveComponent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes a component from its assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>comp</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveSHUO">
<code class="descname">RemoveSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Remove SHUO from component sublabel, remove all dependencies on other SHUO. Returns False if cannot remove SHUO dependencies. NOTE: remove any styles that associated with this SHUO.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SHUOLabel</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveShape">
<code class="descname">RemoveShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.RemoveShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Removes shape (whole label and all its sublabels) If removeCompletely is true, removes complete shape If removeCompletely is false, removes instance(location) only Returns False (and does nothing) if shape is not free or is not top-level shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>removeCompletely</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.Search">
<code class="descname">Search</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.Search" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>General tool to find a (sub) shape in the document * If findInstance is True, and S has a non-null location, first tries to find the shape among the top-level shapes with this location * If not found, and findComponent is True, tries to find the shape among the components of assemblies * If not found, tries to find the shape without location among top-level shapes * If not found and findSubshape is True, tries to find a shape as a subshape of top-level simple shapes Returns False if nothing is found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>findInstance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>findComponent</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>findSubshape</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SearchUsingMap">
<code class="descname">SearchUsingMap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SearchUsingMap" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>findWithoutLoc</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
<li><strong>findSubshape</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) ShapeTool from XCAFDoc on &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SetAutoNaming">
<em class="property">static </em><code class="descname">SetAutoNaming</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SetAutoNaming" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets auto-naming mode to &lt;V&gt;. If True then for added shapes, links, assemblies and SHUO’s, the TDataStd_Name attribute is automatically added. For shapes it contains a shape type (e.g. ‘SOLID’, ‘SHELL’, etc); for links it has a form ‘=&gt;[0:1:1:2]’ (where a tag is a label containing a shape without a location); for assemblies it is ‘ASSEMBLY’, and ‘SHUO’ for SHUO’s. This setting is global; it cannot be made a member function as it is used by static methods as well. By default, auto-naming is enabled. See also AutoNaming().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">void</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SetExternRefs">
<code class="descname">SetExternRefs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SetExternRefs" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the names of references on the no-step files</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>SHAS</strong> (<em>TColStd_SequenceOfHAsciiString &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Label" title="OCC.TDF.TDF_Label">TDF_Label</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets the names of references on the no-step files</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>SHAS</strong> (<em>TColStd_SequenceOfHAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SetInstanceSHUO">
<code class="descname">SetInstanceSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SetInstanceSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Search for the component shape by labelks path and set SHUO structure for founded label structure Returns null attribute if no component in any assembly found.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theShape</strong> (<em>TopoDS_Shape &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_GraphNode" title="OCC.XCAFDoc.Handle_XCAFDoc_GraphNode">Handle_XCAFDoc_GraphNode</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SetSHUO">
<code class="descname">SetSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SetSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the SHUO structure between upper_usage and next_usage create multy-level (if number of labels &gt; 2) SHUO from first to last Initialise out &lt;MainSHUOAttr&gt; by main upper_usage SHUO attribute. Returns False if some of labels in not component label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>MainSHUOAttr</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.SetShape">
<code class="descname">SetShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.SetShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets representation (TopoDS_Shape) for top-level shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.UpdateAssembly">
<code class="descname">UpdateAssembly</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.UpdateAssembly" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Update an assembly at label &lt;L&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_AutoNaming">
<code class="descname">XCAFDoc_ShapeTool_AutoNaming</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_AutoNaming" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns current auto-naming mode. See SetAutoNaming() for description.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_DumpShape">
<code class="descname">XCAFDoc_ShapeTool_DumpShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_DumpShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Print to ostream &lt;theDumpLog&gt; type of shape found on &lt;L&gt; label and the entry of &lt;L&gt;, with &lt;level&gt; tabs before. If &lt;deep&gt;, print also TShape and Location addresses</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theDumpLog</strong> (<em>Standard_OStream &amp;</em>) – </li>
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>level</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) – default value is 0</li>
<li><strong>deep</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">void</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_FindSHUO">
<code class="descname">XCAFDoc_ShapeTool_FindSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_FindSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Searchs the SHUO by labels of components from upper_usage componet to next_usage Returns null attribute if no SHUO found</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>theSHUOAttr</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetAllComponentSHUO">
<code class="descname">XCAFDoc_ShapeTool_GetAllComponentSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetAllComponentSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns founded SHUO GraphNodes of indicated component Returns false in other case</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>CompLabel</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>SHUOAttrs</strong> (<em>TDF_AttributeSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetComponents">
<code class="descname">XCAFDoc_ShapeTool_GetComponents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetComponents" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of components of assembly Returns False if label is not assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetExternRefs">
<code class="descname">XCAFDoc_ShapeTool_GetExternRefs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetExternRefs" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the names of references on the no-step files</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>SHAS</strong> (<em>TColStd_SequenceOfHAsciiString &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">void</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetID">
<code class="descname">XCAFDoc_ShapeTool_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetLocation">
<code class="descname">XCAFDoc_ShapeTool_GetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns location of instance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopLoc.html#OCC.TopLoc.TopLoc_Location" title="OCC.TopLoc.TopLoc_Location">TopLoc_Location</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetReferredShape">
<code class="descname">XCAFDoc_ShapeTool_GetReferredShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetReferredShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns label which corresponds to a shape referred by L Returns False if label is not reference</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Label</strong> (<em>TDF_Label &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUO">
<code class="descname">XCAFDoc_ShapeTool_GetSHUO</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUO" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns founded SHUO GraphNode attribute &lt;aSHUOAttr&gt; Returns false in other case</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>SHUOLabel</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>aSHUOAttr</strong> (<em>Handle_XCAFDoc_GraphNode &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUONextUsage">
<code class="descname">XCAFDoc_ShapeTool_GetSHUONextUsage</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUONextUsage" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the sequence of labels of SHUO attributes, which is next_usage for this upper_usage SHUO attribute (that indicated by label) NOTE: returns next_usages only on one level (not recurse) NOTE: do not clear the sequence before filling</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>UpperUsageL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUOUpperUsage">
<code class="descname">XCAFDoc_ShapeTool_GetSHUOUpperUsage</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSHUOUpperUsage" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the sequence of labels of SHUO attributes, which is upper_usage for this next_usage SHUO attribute (that indicated by label) NOTE: returns upper_usages only on one level (not recurse) NOTE: do not clear the sequence before filling</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>NextUsageL</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetShape">
<code class="descname">XCAFDoc_ShapeTool_GetShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>To get TopoDS_Shape from shape’s label For component, returns new shape with correct location Returns False if label does not contain shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>S</strong> (<em>TopoDS_Shape &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>To get TopoDS_Shape from shape’s label For component, returns new shape with correct location Returns Null shape if label does not contain shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSubShapes">
<code class="descname">XCAFDoc_ShapeTool_GetSubShapes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetSubShapes" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of labels identifying subshapes of the given shape Returns False if no subshapes are placed on that label</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_GetUsers">
<code class="descname">XCAFDoc_ShapeTool_GetUsers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_GetUsers" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns list of labels which refer shape L as component Returns number of users (0 if shape is free)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>Labels</strong> (<em>TDF_LabelSequence &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsAssembly">
<code class="descname">XCAFDoc_ShapeTool_IsAssembly</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsAssembly" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of assembly, i.e. contains sublabels which are assembly components This is relevant only if IsShape() is True</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsComponent">
<code class="descname">XCAFDoc_ShapeTool_IsComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsComponent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return true if &lt;L&gt; is reference serving as component of assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsCompound">
<code class="descname">XCAFDoc_ShapeTool_IsCompound</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsCompound" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of compound, i.e. contains some sublabels This is relevant only if IsShape() is True</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsExternRef">
<code class="descname">XCAFDoc_ShapeTool_IsExternRef</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsExternRef" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of external references, i.e. there are some reference on the no-step files, which are described in document only their names</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsFree">
<code class="descname">XCAFDoc_ShapeTool_IsFree</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsFree" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is not used by any assembly, i.e. contains sublabels which are assembly components This is relevant only if IsShape() is True (There is no Father TreeNode on this &lt;L&gt;)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsReference">
<code class="descname">XCAFDoc_ShapeTool_IsReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsReference" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return true if &lt;L&gt; is a located instance of other shape i.e. reference</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsShape">
<code class="descname">XCAFDoc_ShapeTool_IsShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label represents a shape (simple shape, assembly or reference)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_IsSimpleShape">
<code class="descname">XCAFDoc_ShapeTool_IsSimpleShape</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_IsSimpleShape" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the label is a label of simple shape</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_NbComponents">
<code class="descname">XCAFDoc_ShapeTool_NbComponents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_NbComponents" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns number of Assembles components</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>getsubchilds</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_False</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_Set">
<code class="descname">XCAFDoc_ShapeTool_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create (if not exist) ShapeTool from XCAFDoc on &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<em>TDF_Label &amp;</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool" title="OCC.XCAFDoc.Handle_XCAFDoc_ShapeTool">Handle_XCAFDoc_ShapeTool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_ShapeTool_SetAutoNaming">
<code class="descname">XCAFDoc_ShapeTool_SetAutoNaming</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_ShapeTool_SetAutoNaming" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets auto-naming mode to &lt;V&gt;. If True then for added shapes, links, assemblies and SHUO’s, the TDataStd_Name attribute is automatically added. For shapes it contains a shape type (e.g. ‘SOLID’, ‘SHELL’, etc); for links it has a form ‘=&gt;[0:1:1:2]’ (where a tag is a label containing a shape without a location); for assemblies it is ‘ASSEMBLY’, and ‘SHUO’ for SHUO’s. This setting is global; it cannot be made a member function as it is used by static methods as well. By default, auto-naming is enabled. See also AutoNaming().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">void</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume">
<em class="property">class </em><code class="descname">XCAFDoc_Volume</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.TDF.html#OCC.TDF.TDF_Attribute" title="OCC.TDF.TDF_Attribute"><code class="xref py py-class docutils literal"><span class="pre">OCC.TDF.TDF_Attribute</span></code></a></p>
<ul class="simple">
<li>class methods =============</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.DumpToString">
<code class="descname">DumpToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.DumpToString" title="Permalink to this definition">¶</a></dt>
<dd><p>XCAFDoc_Volume_DumpToString(XCAFDoc_Volume self) -&gt; std::string</p>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.Get">
<em class="property">static </em><code class="descname">Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns volume as argument returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>vol</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.GetHandle">
<code class="descname">GetHandle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.GetHandle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.GetID">
<em class="property">static </em><code class="descname">GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.Set">
<em class="property">static </em><code class="descname">Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_Volume<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a value of volume</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Find, or create, an Volume attribute and set its value</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume" title="OCC.XCAFDoc.Handle_XCAFDoc_Volume">Handle_XCAFDoc_Volume</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume_Get">
<code class="descname">XCAFDoc_Volume_Get</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume_Get" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns volume as argument returns false if no such attribute at the &lt;label&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>vol</strong> (<em>float &amp;</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume_GetID">
<code class="descname">XCAFDoc_Volume_GetID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume_GetID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.XCAFDoc_Volume_Set">
<code class="descname">XCAFDoc_Volume_Set</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span> &#x2192; OCC.XCAFDoc.Handle_XCAFDoc_Volume<a class="headerlink" href="#OCC.XCAFDoc.XCAFDoc_Volume_Set" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets a value of volume</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Find, or create, an Volume attribute and set its value</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>label</strong> (<em>TDF_Label &amp;</em>) – </li>
<li><strong>vol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.XCAFDoc.Handle_XCAFDoc_Volume" title="OCC.XCAFDoc.Handle_XCAFDoc_Volume">Handle_XCAFDoc_Volume</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.new_instancemethod">
<code class="descname">new_instancemethod</code><span class="sig-paren">(</span><em>func</em>, <em>inst</em>, <em>cls</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.new_instancemethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.register_handle">
<code class="descname">register_handle</code><span class="sig-paren">(</span><em>handle</em>, <em>base_object</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.register_handle" title="Permalink to this definition">¶</a></dt>
<dd><p>Inserts the handle into the base object to
prevent memory corruption in certain cases</p>
</dd></dl>

<dl class="class">
<dt id="OCC.XCAFDoc.xcafdoc">
<em class="property">class </em><code class="descname">xcafdoc</code><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.AssemblyGUID">
<em class="property">static </em><code class="descname">AssemblyGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.AssemblyGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.ColorRefGUID">
<em class="property">static </em><code class="descname">ColorRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.ColorRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of colors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.DatumRefGUID">
<em class="property">static </em><code class="descname">DatumRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.DatumRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of datum</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.DatumTolRefGUID">
<em class="property">static </em><code class="descname">DatumTolRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.DatumTolRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing connections Datum-Toler</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.DimTolRefGUID">
<em class="property">static </em><code class="descname">DimTolRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.DimTolRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of DGT</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.ExternRefGUID">
<em class="property">static </em><code class="descname">ExternRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.ExternRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying external reference on no-step file</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.InvisibleGUID">
<em class="property">static </em><code class="descname">InvisibleGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.InvisibleGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.LayerRefGUID">
<em class="property">static </em><code class="descname">LayerRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.LayerRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.MaterialRefGUID">
<em class="property">static </em><code class="descname">MaterialRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.MaterialRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.SHUORefGUID">
<em class="property">static </em><code class="descname">SHUORefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.SHUORefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying specified higher usage occurrence</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.XCAFDoc.xcafdoc.ShapeRefGUID">
<em class="property">static </em><code class="descname">ShapeRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.ShapeRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for TreeNode representing assembly link</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.XCAFDoc.xcafdoc.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_AssemblyGUID">
<code class="descname">xcafdoc_AssemblyGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_AssemblyGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying assembly</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_ColorRefGUID">
<code class="descname">xcafdoc_ColorRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_ColorRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of colors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>type</strong> (<em>XCAFDoc_ColorType</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_DatumRefGUID">
<code class="descname">xcafdoc_DatumRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_DatumRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of datum</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_DatumTolRefGUID">
<code class="descname">xcafdoc_DatumTolRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_DatumTolRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing connections Datum-Toler</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_DimTolRefGUID">
<code class="descname">xcafdoc_DimTolRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_DimTolRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return GUIDs for TreeNode representing specified types of DGT</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_ExternRefGUID">
<code class="descname">xcafdoc_ExternRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_ExternRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying external reference on no-step file</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_InvisibleGUID">
<code class="descname">xcafdoc_InvisibleGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_InvisibleGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_LayerRefGUID">
<code class="descname">xcafdoc_LayerRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_LayerRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_MaterialRefGUID">
<code class="descname">xcafdoc_MaterialRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_MaterialRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_SHUORefGUID">
<code class="descname">xcafdoc_SHUORefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_SHUORefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for UAttribute identifying specified higher usage occurrence</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.XCAFDoc.xcafdoc_ShapeRefGUID">
<code class="descname">xcafdoc_ShapeRefGUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.XCAFDoc.xcafdoc_ShapeRefGUID" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns GUID for TreeNode representing assembly link</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.Standard.html#OCC.Standard.Standard_GUID" title="OCC.Standard.Standard_GUID">Standard_GUID</a></td>
</tr>
</tbody>
</table>
</dd></dl>

</div>


           </div>
           <div class="articleComments">
            
           </div>
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2017, Thomas Paviot.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'0.18',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="static/jquery.js"></script>
      <script type="text/javascript" src="static/underscore.js"></script>
      <script type="text/javascript" src="static/doctools.js"></script>

  

  
  
    <script type="text/javascript" src="static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>